https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/922
}
_updateEntry(secret) {
- if (secret && (this._entry != this._passwordEntry)) {
+ if (secret && this._entry !== this._passwordEntry) {
this._mainBox.replace_child(this._entry, this._passwordEntry);
this._entry = this._passwordEntry;
- } else if (!secret && (this._entry != this._textEntry)) {
+ } else if (!secret && this._entry !== this._textEntry) {
this._mainBox.replace_child(this._entry, this._textEntry);
this._entry = this._textEntry;
}